//
//  IDPAsteroid.m
//  Aestroid Game
//
//  Created by iD Student on 7/11/13.
//  Copyright (c) 2013 jasonkurtzman. All rights reserved.
//

#import "IDPAsteroid.h"

@implementation IDPAsteroid

@synthesize image, scoreValue, velocityY, velocityX;

-(id)init
{
    self.image = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"asteroid.png"]];
    velocityY = 0;
    velocityX = 0;
    return self;
}

-(void) randomizeVelocity
{
    velocityX = arc4random() % 6 - 3;
    velocityY = arc4random() % 6 - 3;
}

@end
